package com.dushuren.project.model.enums;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public enum SuggestSearchSelectEnum {
  ID("id"),
  SEARCH_INFORMATION("searchInformation"),
  SEARCH_NUMBER("searchNumber"),
  SEARCH_FIRST("searchFirst"),
  CREATE_TIME("createTime");


  private String value;

  SuggestSearchSelectEnum(String value) {this.value = value;}

  /**
   * 获取到值列表
   */
  public static List<String> getValues() {
	return Arrays.stream(values()).map(item -> item.value).collect(Collectors.toList());
  }

  /**
   *获取到value值
   */
  public String getValue() {
	return value;
  }
}
